<?php if (!defined('THINK_PATH')) exit(); /*a:4:{s:66:"/www/htdocs/myb/public/../application/cdyoa/view/outbx/detail.html";i:1480386340;s:60:"/www/htdocs/myb/public/../application/cdyoa/view/layout.html";i:1480386307;s:65:"/www/htdocs/myb/public/../application/cdyoa/view/layout/head.html";i:1480386334;s:65:"/www/htdocs/myb/public/../application/cdyoa/view/layout/foot.html";i:1480386334;}*/ ?>
<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<meta name="renderer" content="webkit|ie-comp|ie-stand">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />
<meta http-equiv="Cache-Control" content="no-siteapp" />
<!--[if lt IE 9]>
<script type="text/javascript" src="/vendor/html5.js"></script>
<script type="text/javascript" src="/vendor/respond.min.js"></script>
<script type="text/javascript" src="/vendor/PIE_IE678.js"></script>
<![endif]-->
<!-- h-ui框架 -->
<link rel="stylesheet" type="text/css" href="/static/admin/css/H-ui.min.css" />
<link rel="stylesheet" type="text/css" href="/static/admin/css/H-ui.admin.css" />
<link rel="stylesheet" type="text/css" href="/vendor/Hui-iconfont/1.0.8/iconfont.css" />

<!-- h-ui后台样式 -->
<link rel="stylesheet" type="text/css" href="/static/admin/skin/default/skin.css"/>
<link rel="stylesheet" type="text/css" href="/static/admin/css/style.css" />
<!--[if IE 6]>
<script type="text/javascript" src="/vendor/DD_belatedPNG_0.0.8a-min.js" ></script>
<script>DD_belatedPNG.fix('*');</script>
<![endif]-->

<!-- layui -->
<link rel="stylesheet" type="text/css" href="/vendor/layui/css/layui.css" />

<!-- jquery -->
<script type="text/javascript" src="/vendor/jquery/1.9.1/jquery.min.js"></script> 
<script type="text/javascript" src="/static/admin/js/H-ui.js"></script>

<!-- iphone开关 -->
<link rel="stylesheet" type="text/css" href="/vendor/bootstrap-Switch/bootstrapSwitch.css" />
<script language="javascript" src="/vendor/bootstrap-Switch/bootstrapSwitch.js"></script>

<!-- 编辑器插件 -->
<link rel="stylesheet" href="/vendor/kindeditor/themes/default/default.css" />
<script charset="utf-8" src="/vendor/kindeditor/kindeditor-all-min.js"></script>

<!-- loading插件 start -->
<script type="text/javascript" src="/vendor/jquery.ShowLoading/1.0/jquery.ShowLoading.js"></script>
<link href="/vendor/jquery.ShowLoading/1.0/jquery.ShowLoading.css" rel="stylesheet">
<!-- loading插件 end -->
<style>
table .Hui-iconfont{font-size:20px;}
table td a.ml-5{text-decoration:none;}
#com_body .bgtr td{color:red;}
</style>
<title>内页框架</title>
</head>
<body>
<?php if(isset($nav)):?>
<nav class="breadcrumb">
	<i class="Hui-iconfont">&#xe67f;</i> 
	首页 
	<span class="c-gray en">&gt;</span> 
	<?php echo isset($nav[0])? $nav[0] : "未定义";?> 
	<span class="c-gray en">&gt;</span> 
	<?php echo isset($nav[1])? $nav[1] : "未定义";?>
	<a class="btn btn-success radius r" style="line-height:1.6em;margin-top:3px" href="javascript:location.replace(location.href);" title="刷新" >
	<i class="Hui-iconfont">&#xe68f;</i>
	</a>
</nav>
<?php endif;?>
	<div class="page-container">
<style>
p{line-height:30px;}
.tabBar span.currents {
    background-color: #222;
    color: #fff;
}
</style>
	<p class="f-20 text-success">
		<?php echo $info['name']; ?> [<?php echo $info['money']; ?>]
	</p><br>
	<div class="panel panel-default">
		<div class="panel-header">报销详情</div>
		<div class="panel-body">
				<div class="row cl">
						<div class="col-xs-12 col-sm-6">
							<p><span>报销人：</span><?php echo $info['name']; ?></p>
							<p><span>报销科目：</span>
							<?php $kemu = \app\cdyoa\model\Kemu::lists();echo $kemu[$info['type']]; ?>
							</p>
							<p><span>报销费用：</span> <span style="color:#f37b1d;"><?php echo number_format($info['money'],2); ?></span></p>
							<p><span>报销备注：</span><?php echo $info['note']; ?></p>
							<p><span>报销内容：</span><?php echo $info['content']; ?></p>
							<p><span>报销附件：</span><?php echo com_format_a(attach($info['attach'])); ?></p>
							<p>
							<?php if(($info['one_user_status']==1 && $info['two_user_status']==1)): ?>
								已全部审核通过..
							<?php else: endif; ?>
							</p>
						</div>
						<div class="col-xs-12 col-sm-6">
							<p><span>订单编号：</span><?php echo $info['order_no']; ?></p>
							<p><span>订单标题：</span><?php echo $info['title']; ?></p>
							<p><span>合同编号：</span><?php echo $info['contract_no']; ?></p>
							<hr>
							<p><span>报销录入人：</span><?php echo $info['lname']; ?></p>
							<p><span>录入时间：</span><?php echo date("Y-m-d H:i",$info['create_time']); ?></p>
						</div>
					</div>
		</div>
	</div>
	<div class="panel panel-default mt-20">
		<div class="panel-header">报销审核</div>
		<div class="panel-body">
				<div class="row cl">
						<div class="col-xs-12 col-sm-6">
							<div class="Huialert Huialert-success"><i class="icon-remove"></i>经理审核</div>
							<p><span>审核状态：</span><?php echo c('type.outbx_status',$info['one_user_status']); ?></p>
							<p><span>回复内容：</span><?php echo $info['one_user_note']; ?></p>
							<p>
							<?php if($info['one_user_status']==0): ?>
							<a title="审核通过" class="btn btn-success radius" onclick="c_action(this)" href="javascript:;" _ptitle="审核通过" _width="" _height="" _confirm="" _prompt="textarea" _url="<?php echo url('outbx/check'); ?>" _checkurl="" _post='{"id":<?php echo $info['id']; ?>,"f":"one","status":1}'><i class="Hui-iconfont Hui-iconfont-shenhe-tongguo"></i>审核通过</a>
							<a title="审核驳回" class="btn btn-warning radius" onclick="c_action(this)" href="javascript:;" _ptitle="审核驳回" _width="" _height="" _confirm="" _prompt="textarea" _url="<?php echo url('outbx/check'); ?>" _checkurl="" _post='{"id":<?php echo $info['id']; ?>,"f":"one","status":2}'><i class="Hui-iconfont Hui-iconfont-shenhe-tongguo"></i>审核驳回</a>
							<?php endif; ?>
							</p>
						</div>
						<div class="col-xs-12 col-sm-6">
							<div class="Huialert Huialert-info"><i class="icon-remove"></i>财务审核</div>
							<p><span>审核状态：</span><?php echo c('type.outbx_status',$info['two_user_status']); ?></p>
							<p><span>回复内容：</span><?php echo $info['two_user_note']; ?></p>
							<p>
							<?php if($info['two_user_status']==0): ?>
							<a title="审核通过" class="btn btn-success radius" onclick="c_action(this)" href="javascript:;" _ptitle="审核通过" _width="" _height="" _confirm="" _prompt="textarea" _url="<?php echo url('outbx/check'); ?>" _checkurl="" _post='{"id":<?php echo $info['id']; ?>,"f":"two","status":1}'><i class="Hui-iconfont Hui-iconfont-shenhe-tongguo"></i>审核通过</a>
							<a title="审核驳回" class="btn btn-warning radius" onclick="c_action(this)" href="javascript:;" _ptitle="审核驳回" _width="" _height="" _confirm="" _prompt="textarea" _url="<?php echo url('outbx/check'); ?>" _checkurl="" _post='{"id":<?php echo $info['id']; ?>,"f":"two","status":2}'><i class="Hui-iconfont Hui-iconfont-shenhe-tongguo"></i>审核驳回</a>
							<?php endif; ?>
							</p>
						</div>
					</div>
		</div>
	</div>
</div>
</body>
<script type="text/javascript" src="/vendor/layui/layui.js"></script>
<script type="text/javascript" src="/vendor/layui/lay/dest/layui.all.js"></script>   
<script type="text/javascript" src="/vendor/cfunction.js"></script>
</html>